<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>User Login</title>
<link href="UniversalStyleSheet.css" rel="stylesheet" type="text/css" />

<%

HSuser=request.Cookies("Hsuser")
userlist=split(application("users"),"|")
IDlist=split(application("Uids"),"|")
tempuser=""
tempid=""
x=0

do until x> ubound(userlist)
	if userlist(x)<>HSuser then
		tempuser=tempuser & userlist(x) & "|"
		tempid=tempid & idlist(x) & "|"
	end if
	x=x+1
loop

if len(tempuser)>0 then
	tempuser=left(tempuser,len(tempuser)-1)
	tempid=left(tempid,len(tempid)-1)
end if
application("users")=tempuser
application("Uids")=tempid
response.Cookies("HSmachineID")=""
response.Cookies("HSuser")=""
%>
<script type="text/javascript">
parent.document.getElementById("BtnSearch").src="Images/NavButtonSearch.png"
parent.document.getElementById("BtnOperator").src="Images/NavButtonOperator.png"
parent.document.getElementById("BtnDispatch").src="Images/NavButtonDispatch.png"
parent.document.getElementById("BtnAdmin").src="Images/NavButtonAdmin.png"
function validate()
{
if (document.getElementById("UserName").value=="")
	{
	document.LogInForm.action=""
	}
else
	{
	document.LogInForm.action="CheckLogIn.asp"
	}
}

</script>
 
</head>

<body>

<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>

<table width="490" border="0" align="center" cellpadding="0" cellspacing="0">
<caption class="TableTitles">Log In
</caption>
  <tr>
    <td width="20" height="20" background="Images/TableUpperLeft.png"></td>
<script type="text/javascript">

</script> 
    <td height="20" background="Images/TableUpperMiddle.png"></td>
    <td width="20" height="20" background="Images/TableUpperRight.png"></td>
  </tr>
  <tr>
    <td width="20" background="Images/TableMiddleLeft.png"></td>
    <td align="center" valign="baseline" bgcolor="#FFFFFF"><form id="LogInForm" name="LogInForm" method="post" action="CheckLogIn.asp" onSubmit="javascript: validate()">
      <label class="SearchFormText">User Name
      <input name="UserName" type="text" id="UserName" tabindex="1" />
      </label>
      <input name="BtnLogIn" type="image" width="51" height="22" id="BtnLogIn" tabindex="2" src="Images/LogInButton.png" align="absbottom" />
                  
    </form>
    </td>
    <td width="20" background="Images/TableMiddleRight.png"></td>
  </tr>
  <tr>
    <td width="20" height="20" background="Images/TableLowerLeft.png"></td>
    <td height="20" background="Images/TableLowerMiddle.png"></td>
    <td width="20" height="20" background="Images/TableLowerRight.png"></td>
  </tr>
</table>

<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<table width="50%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" class="ResultsAddress">Application optimized for Internet Explorer 4.0 or above<br>
      at a resolution of 1024x768<br>
      <br>
      &copy;2006</td>
  </tr>
</table>
<p>&nbsp;</p>
</body>
</html>
